package cn.itcast.service.cargo;

import cn.itcast.domain.cargo.Packing;
import cn.itcast.domain.cargo.Shipping;
import cn.itcast.domain.cargo.ShippingExample;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ShippingService {
    int deleteByPrimaryKey(String shippingOrderId);

    int insert(Shipping record);

    int insertSelective(Shipping record);

    List<Shipping> selectByExample(ShippingExample example);

    Shipping selectByPrimaryKey(String shippingOrderId);

    int updateByPrimaryKeySelective(Shipping record);

    int updateByPrimaryKey(Shipping record);

    PageInfo findByPage(int pageNum, int pageSize, ShippingExample shippingExample);

    void save(Shipping shipping, String packingListId);

    void update(Shipping shipping);
}
